Tanzanian HCES Analysis and TFNC Training
University of Nottingham
console for direct code execution
syntax-highlighting editor
tools for plotting
viewing history
managing your workspace
Open source
Tracks file changes
Branch based non-linear workflows (we can all work at the same time)
Rstudio IDE intergration
Speed of work (for quick homework assistance)
Local environment
GitHub is a web-based interface that uses Git, to let multiple people work and make changes on a project concurrently
| Activity | Description |
|---|---|
| 1.1 GitHub sign-up | GitHub signup |
| 1.2 R download and installation | R download |
| 1.3 Rstudio download and installation | Rstudio |
| 1.4 Git download and installation | Git |
| Action | Command |
|---|---|
| In Rstudio console type | usethis::create_github_token() |
| In your github account | generate and copy token |
| In Rstudio console type | gitcreds::gitcreds_set() |
| In Rstudio console | paste token |
| In Rstudio terminal | git config user.name "YourGitHubUsername" |
| In Rstudio terminal | git config user.email "YourGitHubEmail@here.com" |
Thank you!
TFNC Training - R, Rstudio and GitHub